/*eslint-disable block-scoped-var, id-length, no-control-regex, no-magic-numbers, no-prototype-builtins, no-redeclare, no-shadow, no-var, sort-vars*/
"use strict";

var $protobuf = require("protobufjs/minimal");

// Common aliases
var $Reader = $protobuf.Reader, $Writer = $protobuf.Writer, $util = $protobuf.util;

// Exported root namespace
var $root = $protobuf.roots["default"] || ($protobuf.roots["default"] = {});

$root.GooGoods = (function() {

    /**
     * Properties of a GooGoods.
     * @exports IGooGoods
     * @interface IGooGoods
     * @property {string|null} [uuid] GooGoods uuid
     * @property {string|null} [upper] GooGoods upper
     * @property {string|null} [validFlag] GooGoods validFlag
     * @property {string|null} [creator] GooGoods creator
     * @property {string|null} [createTime] GooGoods createTime
     * @property {string|null} [creatorIp] GooGoods creatorIp
     * @property {string|null} [lastModifier] GooGoods lastModifier
     * @property {string|null} [lastModifyTime] GooGoods lastModifyTime
     * @property {string|null} [lastModifierIp] GooGoods lastModifierIp
     * @property {string|null} [ownerOrganize] GooGoods ownerOrganize
     * @property {string|null} [ownerRole] GooGoods ownerRole
     * @property {string|null} [serNum] GooGoods serNum
     * @property {string|null} [serMemo] GooGoods serMemo
     * @property {string|null} [serAudit] GooGoods serAudit
     * @property {string|null} [serUsing] GooGoods serUsing
     * @property {string|null} [serLabels] GooGoods serLabels
     * @property {string|null} [serGoodsBarndId] GooGoods serGoodsBarndId
     * @property {string|null} [serGoodsName] GooGoods serGoodsName
     * @property {string|null} [serGoodsPrice] GooGoods serGoodsPrice
     * @property {string|null} [serShelfState] GooGoods serShelfState
     * @property {string|null} [serGoodsP1] GooGoods serGoodsP1
     * @property {string|null} [serGoodsDeac] GooGoods serGoodsDeac
     * @property {string|null} [serGoodsJifen] GooGoods serGoodsJifen
     * @property {string|null} [serGoodsTagId] GooGoods serGoodsTagId
     * @property {string|null} [serGoodsT1] GooGoods serGoodsT1
     * @property {string|null} [serGoodsP3] GooGoods serGoodsP3
     * @property {string|null} [serGoodsP2] GooGoods serGoodsP2
     * @property {string|null} [serGoodsT2] GooGoods serGoodsT2
     * @property {string|null} [serGoodsDiscounts] GooGoods serGoodsDiscounts
     * @property {string|null} [serGoodsStartTime] GooGoods serGoodsStartTime
     * @property {string|null} [serGoodsEndTime] GooGoods serGoodsEndTime
     * @property {string|null} [serGoodsReturnType] GooGoods serGoodsReturnType
     * @property {string|null} [serGoodsPricel] GooGoods serGoodsPricel
     * @property {string|null} [serGoodsIsactive] GooGoods serGoodsIsactive
     * @property {string|null} [serGoodsUtil] GooGoods serGoodsUtil
     * @property {string|null} [serGoodsContent] GooGoods serGoodsContent
     * @property {string|null} [serGoodsJifenNum] GooGoods serGoodsJifenNum
     * @property {string|null} [serGoodsShow] GooGoods serGoodsShow
     * @property {string|null} [serGoodsType] GooGoods serGoodsType
     * @property {string|null} [serGoodsNew] GooGoods serGoodsNew
     * @property {string|null} [serGoodsDazhe] GooGoods serGoodsDazhe
     * @property {string|null} [serGoodsStock] GooGoods serGoodsStock
     * @property {string|null} [serGoodsBanner] GooGoods serGoodsBanner
     * @property {string|null} [serGoodsJifenVal] GooGoods serGoodsJifenVal
     * @property {string|null} [serBusinessType] GooGoods serBusinessType
     */

    /**
     * Constructs a new GooGoods.
     * @exports GooGoods
     * @classdesc Represents a GooGoods.
     * @implements IGooGoods
     * @constructor
     * @param {IGooGoods=} [properties] Properties to set
     */
    function GooGoods(properties) {
        if (properties)
            for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
                if (properties[keys[i]] != null)
                    this[keys[i]] = properties[keys[i]];
    }

    /**
     * GooGoods uuid.
     * @member {string} uuid
     * @memberof GooGoods
     * @instance
     */
    GooGoods.prototype.uuid = "";

    /**
     * GooGoods upper.
     * @member {string} upper
     * @memberof GooGoods
     * @instance
     */
    GooGoods.prototype.upper = "";

    /**
     * GooGoods validFlag.
     * @member {string} validFlag
     * @memberof GooGoods
     * @instance
     */
    GooGoods.prototype.validFlag = "";

    /**
     * GooGoods creator.
     * @member {string} creator
     * @memberof GooGoods
     * @instance
     */
    GooGoods.prototype.creator = "";

    /**
     * GooGoods createTime.
     * @member {string} createTime
     * @memberof GooGoods
     * @instance
     */
    GooGoods.prototype.createTime = "";

    /**
     * GooGoods creatorIp.
     * @member {string} creatorIp
     * @memberof GooGoods
     * @instance
     */
    GooGoods.prototype.creatorIp = "";

    /**
     * GooGoods lastModifier.
     * @member {string} lastModifier
     * @memberof GooGoods
     * @instance
     */
    GooGoods.prototype.lastModifier = "";

    /**
     * GooGoods lastModifyTime.
     * @member {string} lastModifyTime
     * @memberof GooGoods
     * @instance
     */
    GooGoods.prototype.lastModifyTime = "";

    /**
     * GooGoods lastModifierIp.
     * @member {string} lastModifierIp
     * @memberof GooGoods
     * @instance
     */
    GooGoods.prototype.lastModifierIp = "";

    /**
     * GooGoods ownerOrganize.
     * @member {string} ownerOrganize
     * @memberof GooGoods
     * @instance
     */
    GooGoods.prototype.ownerOrganize = "";

    /**
     * GooGoods ownerRole.
     * @member {string} ownerRole
     * @memberof GooGoods
     * @instance
     */
    GooGoods.prototype.ownerRole = "";

    /**
     * GooGoods serNum.
     * @member {string} serNum
     * @memberof GooGoods
     * @instance
     */
    GooGoods.prototype.serNum = "";

    /**
     * GooGoods serMemo.
     * @member {string} serMemo
     * @memberof GooGoods
     * @instance
     */
    GooGoods.prototype.serMemo = "";

    /**
     * GooGoods serAudit.
     * @member {string} serAudit
     * @memberof GooGoods
     * @instance
     */
    GooGoods.prototype.serAudit = "";

    /**
     * GooGoods serUsing.
     * @member {string} serUsing
     * @memberof GooGoods
     * @instance
     */
    GooGoods.prototype.serUsing = "";

    /**
     * GooGoods serLabels.
     * @member {string} serLabels
     * @memberof GooGoods
     * @instance
     */
    GooGoods.prototype.serLabels = "";

    /**
     * GooGoods serGoodsBarndId.
     * @member {string} serGoodsBarndId
     * @memberof GooGoods
     * @instance
     */
    GooGoods.prototype.serGoodsBarndId = "";

    /**
     * GooGoods serGoodsName.
     * @member {string} serGoodsName
     * @memberof GooGoods
     * @instance
     */
    GooGoods.prototype.serGoodsName = "";

    /**
     * GooGoods serGoodsPrice.
     * @member {string} serGoodsPrice
     * @memberof GooGoods
     * @instance
     */
    GooGoods.prototype.serGoodsPrice = "";

    /**
     * GooGoods serShelfState.
     * @member {string} serShelfState
     * @memberof GooGoods
     * @instance
     */
    GooGoods.prototype.serShelfState = "";

    /**
     * GooGoods serGoodsP1.
     * @member {string} serGoodsP1
     * @memberof GooGoods
     * @instance
     */
    GooGoods.prototype.serGoodsP1 = "";

    /**
     * GooGoods serGoodsDeac.
     * @member {string} serGoodsDeac
     * @memberof GooGoods
     * @instance
     */
    GooGoods.prototype.serGoodsDeac = "";

    /**
     * GooGoods serGoodsJifen.
     * @member {string} serGoodsJifen
     * @memberof GooGoods
     * @instance
     */
    GooGoods.prototype.serGoodsJifen = "";

    /**
     * GooGoods serGoodsTagId.
     * @member {string} serGoodsTagId
     * @memberof GooGoods
     * @instance
     */
    GooGoods.prototype.serGoodsTagId = "";

    /**
     * GooGoods serGoodsT1.
     * @member {string} serGoodsT1
     * @memberof GooGoods
     * @instance
     */
    GooGoods.prototype.serGoodsT1 = "";

    /**
     * GooGoods serGoodsP3.
     * @member {string} serGoodsP3
     * @memberof GooGoods
     * @instance
     */
    GooGoods.prototype.serGoodsP3 = "";

    /**
     * GooGoods serGoodsP2.
     * @member {string} serGoodsP2
     * @memberof GooGoods
     * @instance
     */
    GooGoods.prototype.serGoodsP2 = "";

    /**
     * GooGoods serGoodsT2.
     * @member {string} serGoodsT2
     * @memberof GooGoods
     * @instance
     */
    GooGoods.prototype.serGoodsT2 = "";

    /**
     * GooGoods serGoodsDiscounts.
     * @member {string} serGoodsDiscounts
     * @memberof GooGoods
     * @instance
     */
    GooGoods.prototype.serGoodsDiscounts = "";

    /**
     * GooGoods serGoodsStartTime.
     * @member {string} serGoodsStartTime
     * @memberof GooGoods
     * @instance
     */
    GooGoods.prototype.serGoodsStartTime = "";

    /**
     * GooGoods serGoodsEndTime.
     * @member {string} serGoodsEndTime
     * @memberof GooGoods
     * @instance
     */
    GooGoods.prototype.serGoodsEndTime = "";

    /**
     * GooGoods serGoodsReturnType.
     * @member {string} serGoodsReturnType
     * @memberof GooGoods
     * @instance
     */
    GooGoods.prototype.serGoodsReturnType = "";

    /**
     * GooGoods serGoodsPricel.
     * @member {string} serGoodsPricel
     * @memberof GooGoods
     * @instance
     */
    GooGoods.prototype.serGoodsPricel = "";

    /**
     * GooGoods serGoodsIsactive.
     * @member {string} serGoodsIsactive
     * @memberof GooGoods
     * @instance
     */
    GooGoods.prototype.serGoodsIsactive = "";

    /**
     * GooGoods serGoodsUtil.
     * @member {string} serGoodsUtil
     * @memberof GooGoods
     * @instance
     */
    GooGoods.prototype.serGoodsUtil = "";

    /**
     * GooGoods serGoodsContent.
     * @member {string} serGoodsContent
     * @memberof GooGoods
     * @instance
     */
    GooGoods.prototype.serGoodsContent = "";

    /**
     * GooGoods serGoodsJifenNum.
     * @member {string} serGoodsJifenNum
     * @memberof GooGoods
     * @instance
     */
    GooGoods.prototype.serGoodsJifenNum = "";

    /**
     * GooGoods serGoodsShow.
     * @member {string} serGoodsShow
     * @memberof GooGoods
     * @instance
     */
    GooGoods.prototype.serGoodsShow = "";

    /**
     * GooGoods serGoodsType.
     * @member {string} serGoodsType
     * @memberof GooGoods
     * @instance
     */
    GooGoods.prototype.serGoodsType = "";

    /**
     * GooGoods serGoodsNew.
     * @member {string} serGoodsNew
     * @memberof GooGoods
     * @instance
     */
    GooGoods.prototype.serGoodsNew = "";

    /**
     * GooGoods serGoodsDazhe.
     * @member {string} serGoodsDazhe
     * @memberof GooGoods
     * @instance
     */
    GooGoods.prototype.serGoodsDazhe = "";

    /**
     * GooGoods serGoodsStock.
     * @member {string} serGoodsStock
     * @memberof GooGoods
     * @instance
     */
    GooGoods.prototype.serGoodsStock = "";

    /**
     * GooGoods serGoodsBanner.
     * @member {string} serGoodsBanner
     * @memberof GooGoods
     * @instance
     */
    GooGoods.prototype.serGoodsBanner = "";

    /**
     * GooGoods serGoodsJifenVal.
     * @member {string} serGoodsJifenVal
     * @memberof GooGoods
     * @instance
     */
    GooGoods.prototype.serGoodsJifenVal = "";

    /**
     * GooGoods serBusinessType.
     * @member {string} serBusinessType
     * @memberof GooGoods
     * @instance
     */
    GooGoods.prototype.serBusinessType = "";

    /**
     * Creates a new GooGoods instance using the specified properties.
     * @function create
     * @memberof GooGoods
     * @static
     * @param {IGooGoods=} [properties] Properties to set
     * @returns {GooGoods} GooGoods instance
     */
    GooGoods.create = function create(properties) {
        return new GooGoods(properties);
    };

    /**
     * Encodes the specified GooGoods message. Does not implicitly {@link GooGoods.verify|verify} messages.
     * @function encode
     * @memberof GooGoods
     * @static
     * @param {IGooGoods} message GooGoods message or plain object to encode
     * @param {$protobuf.Writer} [writer] Writer to encode to
     * @returns {$protobuf.Writer} Writer
     */
    GooGoods.encode = function encode(message, writer) {
        if (!writer)
            writer = $Writer.create();
        if (message.uuid != null && message.hasOwnProperty("uuid"))
            writer.uint32(/* id 1, wireType 2 =*/10).string(message.uuid);
        if (message.upper != null && message.hasOwnProperty("upper"))
            writer.uint32(/* id 2, wireType 2 =*/18).string(message.upper);
        if (message.validFlag != null && message.hasOwnProperty("validFlag"))
            writer.uint32(/* id 3, wireType 2 =*/26).string(message.validFlag);
        if (message.creator != null && message.hasOwnProperty("creator"))
            writer.uint32(/* id 4, wireType 2 =*/34).string(message.creator);
        if (message.createTime != null && message.hasOwnProperty("createTime"))
            writer.uint32(/* id 5, wireType 2 =*/42).string(message.createTime);
        if (message.creatorIp != null && message.hasOwnProperty("creatorIp"))
            writer.uint32(/* id 6, wireType 2 =*/50).string(message.creatorIp);
        if (message.lastModifier != null && message.hasOwnProperty("lastModifier"))
            writer.uint32(/* id 7, wireType 2 =*/58).string(message.lastModifier);
        if (message.lastModifyTime != null && message.hasOwnProperty("lastModifyTime"))
            writer.uint32(/* id 8, wireType 2 =*/66).string(message.lastModifyTime);
        if (message.lastModifierIp != null && message.hasOwnProperty("lastModifierIp"))
            writer.uint32(/* id 9, wireType 2 =*/74).string(message.lastModifierIp);
        if (message.ownerOrganize != null && message.hasOwnProperty("ownerOrganize"))
            writer.uint32(/* id 10, wireType 2 =*/82).string(message.ownerOrganize);
        if (message.ownerRole != null && message.hasOwnProperty("ownerRole"))
            writer.uint32(/* id 11, wireType 2 =*/90).string(message.ownerRole);
        if (message.serNum != null && message.hasOwnProperty("serNum"))
            writer.uint32(/* id 12, wireType 2 =*/98).string(message.serNum);
        if (message.serMemo != null && message.hasOwnProperty("serMemo"))
            writer.uint32(/* id 13, wireType 2 =*/106).string(message.serMemo);
        if (message.serAudit != null && message.hasOwnProperty("serAudit"))
            writer.uint32(/* id 14, wireType 2 =*/114).string(message.serAudit);
        if (message.serUsing != null && message.hasOwnProperty("serUsing"))
            writer.uint32(/* id 15, wireType 2 =*/122).string(message.serUsing);
        if (message.serLabels != null && message.hasOwnProperty("serLabels"))
            writer.uint32(/* id 16, wireType 2 =*/130).string(message.serLabels);
        if (message.serGoodsBarndId != null && message.hasOwnProperty("serGoodsBarndId"))
            writer.uint32(/* id 17, wireType 2 =*/138).string(message.serGoodsBarndId);
        if (message.serGoodsName != null && message.hasOwnProperty("serGoodsName"))
            writer.uint32(/* id 18, wireType 2 =*/146).string(message.serGoodsName);
        if (message.serGoodsPrice != null && message.hasOwnProperty("serGoodsPrice"))
            writer.uint32(/* id 19, wireType 2 =*/154).string(message.serGoodsPrice);
        if (message.serShelfState != null && message.hasOwnProperty("serShelfState"))
            writer.uint32(/* id 20, wireType 2 =*/162).string(message.serShelfState);
        if (message.serGoodsP1 != null && message.hasOwnProperty("serGoodsP1"))
            writer.uint32(/* id 21, wireType 2 =*/170).string(message.serGoodsP1);
        if (message.serGoodsDeac != null && message.hasOwnProperty("serGoodsDeac"))
            writer.uint32(/* id 22, wireType 2 =*/178).string(message.serGoodsDeac);
        if (message.serGoodsJifen != null && message.hasOwnProperty("serGoodsJifen"))
            writer.uint32(/* id 23, wireType 2 =*/186).string(message.serGoodsJifen);
        if (message.serGoodsTagId != null && message.hasOwnProperty("serGoodsTagId"))
            writer.uint32(/* id 24, wireType 2 =*/194).string(message.serGoodsTagId);
        if (message.serGoodsT1 != null && message.hasOwnProperty("serGoodsT1"))
            writer.uint32(/* id 25, wireType 2 =*/202).string(message.serGoodsT1);
        if (message.serGoodsP3 != null && message.hasOwnProperty("serGoodsP3"))
            writer.uint32(/* id 26, wireType 2 =*/210).string(message.serGoodsP3);
        if (message.serGoodsP2 != null && message.hasOwnProperty("serGoodsP2"))
            writer.uint32(/* id 27, wireType 2 =*/218).string(message.serGoodsP2);
        if (message.serGoodsT2 != null && message.hasOwnProperty("serGoodsT2"))
            writer.uint32(/* id 28, wireType 2 =*/226).string(message.serGoodsT2);
        if (message.serGoodsDiscounts != null && message.hasOwnProperty("serGoodsDiscounts"))
            writer.uint32(/* id 29, wireType 2 =*/234).string(message.serGoodsDiscounts);
        if (message.serGoodsStartTime != null && message.hasOwnProperty("serGoodsStartTime"))
            writer.uint32(/* id 30, wireType 2 =*/242).string(message.serGoodsStartTime);
        if (message.serGoodsEndTime != null && message.hasOwnProperty("serGoodsEndTime"))
            writer.uint32(/* id 31, wireType 2 =*/250).string(message.serGoodsEndTime);
        if (message.serGoodsReturnType != null && message.hasOwnProperty("serGoodsReturnType"))
            writer.uint32(/* id 32, wireType 2 =*/258).string(message.serGoodsReturnType);
        if (message.serGoodsPricel != null && message.hasOwnProperty("serGoodsPricel"))
            writer.uint32(/* id 33, wireType 2 =*/266).string(message.serGoodsPricel);
        if (message.serGoodsIsactive != null && message.hasOwnProperty("serGoodsIsactive"))
            writer.uint32(/* id 34, wireType 2 =*/274).string(message.serGoodsIsactive);
        if (message.serGoodsUtil != null && message.hasOwnProperty("serGoodsUtil"))
            writer.uint32(/* id 35, wireType 2 =*/282).string(message.serGoodsUtil);
        if (message.serGoodsContent != null && message.hasOwnProperty("serGoodsContent"))
            writer.uint32(/* id 36, wireType 2 =*/290).string(message.serGoodsContent);
        if (message.serGoodsJifenNum != null && message.hasOwnProperty("serGoodsJifenNum"))
            writer.uint32(/* id 37, wireType 2 =*/298).string(message.serGoodsJifenNum);
        if (message.serGoodsShow != null && message.hasOwnProperty("serGoodsShow"))
            writer.uint32(/* id 38, wireType 2 =*/306).string(message.serGoodsShow);
        if (message.serGoodsType != null && message.hasOwnProperty("serGoodsType"))
            writer.uint32(/* id 39, wireType 2 =*/314).string(message.serGoodsType);
        if (message.serGoodsNew != null && message.hasOwnProperty("serGoodsNew"))
            writer.uint32(/* id 40, wireType 2 =*/322).string(message.serGoodsNew);
        if (message.serGoodsDazhe != null && message.hasOwnProperty("serGoodsDazhe"))
            writer.uint32(/* id 41, wireType 2 =*/330).string(message.serGoodsDazhe);
        if (message.serGoodsStock != null && message.hasOwnProperty("serGoodsStock"))
            writer.uint32(/* id 42, wireType 2 =*/338).string(message.serGoodsStock);
        if (message.serGoodsBanner != null && message.hasOwnProperty("serGoodsBanner"))
            writer.uint32(/* id 43, wireType 2 =*/346).string(message.serGoodsBanner);
        if (message.serGoodsJifenVal != null && message.hasOwnProperty("serGoodsJifenVal"))
            writer.uint32(/* id 44, wireType 2 =*/354).string(message.serGoodsJifenVal);
        if (message.serBusinessType != null && message.hasOwnProperty("serBusinessType"))
            writer.uint32(/* id 45, wireType 2 =*/362).string(message.serBusinessType);
        return writer;
    };

    /**
     * Encodes the specified GooGoods message, length delimited. Does not implicitly {@link GooGoods.verify|verify} messages.
     * @function encodeDelimited
     * @memberof GooGoods
     * @static
     * @param {IGooGoods} message GooGoods message or plain object to encode
     * @param {$protobuf.Writer} [writer] Writer to encode to
     * @returns {$protobuf.Writer} Writer
     */
    GooGoods.encodeDelimited = function encodeDelimited(message, writer) {
        return this.encode(message, writer).ldelim();
    };

    /**
     * Decodes a GooGoods message from the specified reader or buffer.
     * @function decode
     * @memberof GooGoods
     * @static
     * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
     * @param {number} [length] Message length if known beforehand
     * @returns {GooGoods} GooGoods
     * @throws {Error} If the payload is not a reader or valid buffer
     * @throws {$protobuf.util.ProtocolError} If required fields are missing
     */
    GooGoods.decode = function decode(reader, length) {
        if (!(reader instanceof $Reader))
            reader = $Reader.create(reader);
        var end = length === undefined ? reader.len : reader.pos + length, message = new $root.GooGoods();
        while (reader.pos < end) {
            var tag = reader.uint32();
            switch (tag >>> 3) {
            case 1:
                message.uuid = reader.string();
                break;
            case 2:
                message.upper = reader.string();
                break;
            case 3:
                message.validFlag = reader.string();
                break;
            case 4:
                message.creator = reader.string();
                break;
            case 5:
                message.createTime = reader.string();
                break;
            case 6:
                message.creatorIp = reader.string();
                break;
            case 7:
                message.lastModifier = reader.string();
                break;
            case 8:
                message.lastModifyTime = reader.string();
                break;
            case 9:
                message.lastModifierIp = reader.string();
                break;
            case 10:
                message.ownerOrganize = reader.string();
                break;
            case 11:
                message.ownerRole = reader.string();
                break;
            case 12:
                message.serNum = reader.string();
                break;
            case 13:
                message.serMemo = reader.string();
                break;
            case 14:
                message.serAudit = reader.string();
                break;
            case 15:
                message.serUsing = reader.string();
                break;
            case 16:
                message.serLabels = reader.string();
                break;
            case 17:
                message.serGoodsBarndId = reader.string();
                break;
            case 18:
                message.serGoodsName = reader.string();
                break;
            case 19:
                message.serGoodsPrice = reader.string();
                break;
            case 20:
                message.serShelfState = reader.string();
                break;
            case 21:
                message.serGoodsP1 = reader.string();
                break;
            case 22:
                message.serGoodsDeac = reader.string();
                break;
            case 23:
                message.serGoodsJifen = reader.string();
                break;
            case 24:
                message.serGoodsTagId = reader.string();
                break;
            case 25:
                message.serGoodsT1 = reader.string();
                break;
            case 26:
                message.serGoodsP3 = reader.string();
                break;
            case 27:
                message.serGoodsP2 = reader.string();
                break;
            case 28:
                message.serGoodsT2 = reader.string();
                break;
            case 29:
                message.serGoodsDiscounts = reader.string();
                break;
            case 30:
                message.serGoodsStartTime = reader.string();
                break;
            case 31:
                message.serGoodsEndTime = reader.string();
                break;
            case 32:
                message.serGoodsReturnType = reader.string();
                break;
            case 33:
                message.serGoodsPricel = reader.string();
                break;
            case 34:
                message.serGoodsIsactive = reader.string();
                break;
            case 35:
                message.serGoodsUtil = reader.string();
                break;
            case 36:
                message.serGoodsContent = reader.string();
                break;
            case 37:
                message.serGoodsJifenNum = reader.string();
                break;
            case 38:
                message.serGoodsShow = reader.string();
                break;
            case 39:
                message.serGoodsType = reader.string();
                break;
            case 40:
                message.serGoodsNew = reader.string();
                break;
            case 41:
                message.serGoodsDazhe = reader.string();
                break;
            case 42:
                message.serGoodsStock = reader.string();
                break;
            case 43:
                message.serGoodsBanner = reader.string();
                break;
            case 44:
                message.serGoodsJifenVal = reader.string();
                break;
            case 45:
                message.serBusinessType = reader.string();
                break;
            default:
                reader.skipType(tag & 7);
                break;
            }
        }
        return message;
    };

    /**
     * Decodes a GooGoods message from the specified reader or buffer, length delimited.
     * @function decodeDelimited
     * @memberof GooGoods
     * @static
     * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
     * @returns {GooGoods} GooGoods
     * @throws {Error} If the payload is not a reader or valid buffer
     * @throws {$protobuf.util.ProtocolError} If required fields are missing
     */
    GooGoods.decodeDelimited = function decodeDelimited(reader) {
        if (!(reader instanceof $Reader))
            reader = new $Reader(reader);
        return this.decode(reader, reader.uint32());
    };

    /**
     * Verifies a GooGoods message.
     * @function verify
     * @memberof GooGoods
     * @static
     * @param {Object.<string,*>} message Plain object to verify
     * @returns {string|null} `null` if valid, otherwise the reason why it is not
     */
    GooGoods.verify = function verify(message) {
        if (typeof message !== "object" || message === null)
            return "object expected";
        if (message.uuid != null && message.hasOwnProperty("uuid"))
            if (!$util.isString(message.uuid))
                return "uuid: string expected";
        if (message.upper != null && message.hasOwnProperty("upper"))
            if (!$util.isString(message.upper))
                return "upper: string expected";
        if (message.validFlag != null && message.hasOwnProperty("validFlag"))
            if (!$util.isString(message.validFlag))
                return "validFlag: string expected";
        if (message.creator != null && message.hasOwnProperty("creator"))
            if (!$util.isString(message.creator))
                return "creator: string expected";
        if (message.createTime != null && message.hasOwnProperty("createTime"))
            if (!$util.isString(message.createTime))
                return "createTime: string expected";
        if (message.creatorIp != null && message.hasOwnProperty("creatorIp"))
            if (!$util.isString(message.creatorIp))
                return "creatorIp: string expected";
        if (message.lastModifier != null && message.hasOwnProperty("lastModifier"))
            if (!$util.isString(message.lastModifier))
                return "lastModifier: string expected";
        if (message.lastModifyTime != null && message.hasOwnProperty("lastModifyTime"))
            if (!$util.isString(message.lastModifyTime))
                return "lastModifyTime: string expected";
        if (message.lastModifierIp != null && message.hasOwnProperty("lastModifierIp"))
            if (!$util.isString(message.lastModifierIp))
                return "lastModifierIp: string expected";
        if (message.ownerOrganize != null && message.hasOwnProperty("ownerOrganize"))
            if (!$util.isString(message.ownerOrganize))
                return "ownerOrganize: string expected";
        if (message.ownerRole != null && message.hasOwnProperty("ownerRole"))
            if (!$util.isString(message.ownerRole))
                return "ownerRole: string expected";
        if (message.serNum != null && message.hasOwnProperty("serNum"))
            if (!$util.isString(message.serNum))
                return "serNum: string expected";
        if (message.serMemo != null && message.hasOwnProperty("serMemo"))
            if (!$util.isString(message.serMemo))
                return "serMemo: string expected";
        if (message.serAudit != null && message.hasOwnProperty("serAudit"))
            if (!$util.isString(message.serAudit))
                return "serAudit: string expected";
        if (message.serUsing != null && message.hasOwnProperty("serUsing"))
            if (!$util.isString(message.serUsing))
                return "serUsing: string expected";
        if (message.serLabels != null && message.hasOwnProperty("serLabels"))
            if (!$util.isString(message.serLabels))
                return "serLabels: string expected";
        if (message.serGoodsBarndId != null && message.hasOwnProperty("serGoodsBarndId"))
            if (!$util.isString(message.serGoodsBarndId))
                return "serGoodsBarndId: string expected";
        if (message.serGoodsName != null && message.hasOwnProperty("serGoodsName"))
            if (!$util.isString(message.serGoodsName))
                return "serGoodsName: string expected";
        if (message.serGoodsPrice != null && message.hasOwnProperty("serGoodsPrice"))
            if (!$util.isString(message.serGoodsPrice))
                return "serGoodsPrice: string expected";
        if (message.serShelfState != null && message.hasOwnProperty("serShelfState"))
            if (!$util.isString(message.serShelfState))
                return "serShelfState: string expected";
        if (message.serGoodsP1 != null && message.hasOwnProperty("serGoodsP1"))
            if (!$util.isString(message.serGoodsP1))
                return "serGoodsP1: string expected";
        if (message.serGoodsDeac != null && message.hasOwnProperty("serGoodsDeac"))
            if (!$util.isString(message.serGoodsDeac))
                return "serGoodsDeac: string expected";
        if (message.serGoodsJifen != null && message.hasOwnProperty("serGoodsJifen"))
            if (!$util.isString(message.serGoodsJifen))
                return "serGoodsJifen: string expected";
        if (message.serGoodsTagId != null && message.hasOwnProperty("serGoodsTagId"))
            if (!$util.isString(message.serGoodsTagId))
                return "serGoodsTagId: string expected";
        if (message.serGoodsT1 != null && message.hasOwnProperty("serGoodsT1"))
            if (!$util.isString(message.serGoodsT1))
                return "serGoodsT1: string expected";
        if (message.serGoodsP3 != null && message.hasOwnProperty("serGoodsP3"))
            if (!$util.isString(message.serGoodsP3))
                return "serGoodsP3: string expected";
        if (message.serGoodsP2 != null && message.hasOwnProperty("serGoodsP2"))
            if (!$util.isString(message.serGoodsP2))
                return "serGoodsP2: string expected";
        if (message.serGoodsT2 != null && message.hasOwnProperty("serGoodsT2"))
            if (!$util.isString(message.serGoodsT2))
                return "serGoodsT2: string expected";
        if (message.serGoodsDiscounts != null && message.hasOwnProperty("serGoodsDiscounts"))
            if (!$util.isString(message.serGoodsDiscounts))
                return "serGoodsDiscounts: string expected";
        if (message.serGoodsStartTime != null && message.hasOwnProperty("serGoodsStartTime"))
            if (!$util.isString(message.serGoodsStartTime))
                return "serGoodsStartTime: string expected";
        if (message.serGoodsEndTime != null && message.hasOwnProperty("serGoodsEndTime"))
            if (!$util.isString(message.serGoodsEndTime))
                return "serGoodsEndTime: string expected";
        if (message.serGoodsReturnType != null && message.hasOwnProperty("serGoodsReturnType"))
            if (!$util.isString(message.serGoodsReturnType))
                return "serGoodsReturnType: string expected";
        if (message.serGoodsPricel != null && message.hasOwnProperty("serGoodsPricel"))
            if (!$util.isString(message.serGoodsPricel))
                return "serGoodsPricel: string expected";
        if (message.serGoodsIsactive != null && message.hasOwnProperty("serGoodsIsactive"))
            if (!$util.isString(message.serGoodsIsactive))
                return "serGoodsIsactive: string expected";
        if (message.serGoodsUtil != null && message.hasOwnProperty("serGoodsUtil"))
            if (!$util.isString(message.serGoodsUtil))
                return "serGoodsUtil: string expected";
        if (message.serGoodsContent != null && message.hasOwnProperty("serGoodsContent"))
            if (!$util.isString(message.serGoodsContent))
                return "serGoodsContent: string expected";
        if (message.serGoodsJifenNum != null && message.hasOwnProperty("serGoodsJifenNum"))
            if (!$util.isString(message.serGoodsJifenNum))
                return "serGoodsJifenNum: string expected";
        if (message.serGoodsShow != null && message.hasOwnProperty("serGoodsShow"))
            if (!$util.isString(message.serGoodsShow))
                return "serGoodsShow: string expected";
        if (message.serGoodsType != null && message.hasOwnProperty("serGoodsType"))
            if (!$util.isString(message.serGoodsType))
                return "serGoodsType: string expected";
        if (message.serGoodsNew != null && message.hasOwnProperty("serGoodsNew"))
            if (!$util.isString(message.serGoodsNew))
                return "serGoodsNew: string expected";
        if (message.serGoodsDazhe != null && message.hasOwnProperty("serGoodsDazhe"))
            if (!$util.isString(message.serGoodsDazhe))
                return "serGoodsDazhe: string expected";
        if (message.serGoodsStock != null && message.hasOwnProperty("serGoodsStock"))
            if (!$util.isString(message.serGoodsStock))
                return "serGoodsStock: string expected";
        if (message.serGoodsBanner != null && message.hasOwnProperty("serGoodsBanner"))
            if (!$util.isString(message.serGoodsBanner))
                return "serGoodsBanner: string expected";
        if (message.serGoodsJifenVal != null && message.hasOwnProperty("serGoodsJifenVal"))
            if (!$util.isString(message.serGoodsJifenVal))
                return "serGoodsJifenVal: string expected";
        if (message.serBusinessType != null && message.hasOwnProperty("serBusinessType"))
            if (!$util.isString(message.serBusinessType))
                return "serBusinessType: string expected";
        return null;
    };

    /**
     * Creates a GooGoods message from a plain object. Also converts values to their respective internal types.
     * @function fromObject
     * @memberof GooGoods
     * @static
     * @param {Object.<string,*>} object Plain object
     * @returns {GooGoods} GooGoods
     */
    GooGoods.fromObject = function fromObject(object) {
        if (object instanceof $root.GooGoods)
            return object;
        var message = new $root.GooGoods();
        if (object.uuid != null)
            message.uuid = String(object.uuid);
        if (object.upper != null)
            message.upper = String(object.upper);
        if (object.validFlag != null)
            message.validFlag = String(object.validFlag);
        if (object.creator != null)
            message.creator = String(object.creator);
        if (object.createTime != null)
            message.createTime = String(object.createTime);
        if (object.creatorIp != null)
            message.creatorIp = String(object.creatorIp);
        if (object.lastModifier != null)
            message.lastModifier = String(object.lastModifier);
        if (object.lastModifyTime != null)
            message.lastModifyTime = String(object.lastModifyTime);
        if (object.lastModifierIp != null)
            message.lastModifierIp = String(object.lastModifierIp);
        if (object.ownerOrganize != null)
            message.ownerOrganize = String(object.ownerOrganize);
        if (object.ownerRole != null)
            message.ownerRole = String(object.ownerRole);
        if (object.serNum != null)
            message.serNum = String(object.serNum);
        if (object.serMemo != null)
            message.serMemo = String(object.serMemo);
        if (object.serAudit != null)
            message.serAudit = String(object.serAudit);
        if (object.serUsing != null)
            message.serUsing = String(object.serUsing);
        if (object.serLabels != null)
            message.serLabels = String(object.serLabels);
        if (object.serGoodsBarndId != null)
            message.serGoodsBarndId = String(object.serGoodsBarndId);
        if (object.serGoodsName != null)
            message.serGoodsName = String(object.serGoodsName);
        if (object.serGoodsPrice != null)
            message.serGoodsPrice = String(object.serGoodsPrice);
        if (object.serShelfState != null)
            message.serShelfState = String(object.serShelfState);
        if (object.serGoodsP1 != null)
            message.serGoodsP1 = String(object.serGoodsP1);
        if (object.serGoodsDeac != null)
            message.serGoodsDeac = String(object.serGoodsDeac);
        if (object.serGoodsJifen != null)
            message.serGoodsJifen = String(object.serGoodsJifen);
        if (object.serGoodsTagId != null)
            message.serGoodsTagId = String(object.serGoodsTagId);
        if (object.serGoodsT1 != null)
            message.serGoodsT1 = String(object.serGoodsT1);
        if (object.serGoodsP3 != null)
            message.serGoodsP3 = String(object.serGoodsP3);
        if (object.serGoodsP2 != null)
            message.serGoodsP2 = String(object.serGoodsP2);
        if (object.serGoodsT2 != null)
            message.serGoodsT2 = String(object.serGoodsT2);
        if (object.serGoodsDiscounts != null)
            message.serGoodsDiscounts = String(object.serGoodsDiscounts);
        if (object.serGoodsStartTime != null)
            message.serGoodsStartTime = String(object.serGoodsStartTime);
        if (object.serGoodsEndTime != null)
            message.serGoodsEndTime = String(object.serGoodsEndTime);
        if (object.serGoodsReturnType != null)
            message.serGoodsReturnType = String(object.serGoodsReturnType);
        if (object.serGoodsPricel != null)
            message.serGoodsPricel = String(object.serGoodsPricel);
        if (object.serGoodsIsactive != null)
            message.serGoodsIsactive = String(object.serGoodsIsactive);
        if (object.serGoodsUtil != null)
            message.serGoodsUtil = String(object.serGoodsUtil);
        if (object.serGoodsContent != null)
            message.serGoodsContent = String(object.serGoodsContent);
        if (object.serGoodsJifenNum != null)
            message.serGoodsJifenNum = String(object.serGoodsJifenNum);
        if (object.serGoodsShow != null)
            message.serGoodsShow = String(object.serGoodsShow);
        if (object.serGoodsType != null)
            message.serGoodsType = String(object.serGoodsType);
        if (object.serGoodsNew != null)
            message.serGoodsNew = String(object.serGoodsNew);
        if (object.serGoodsDazhe != null)
            message.serGoodsDazhe = String(object.serGoodsDazhe);
        if (object.serGoodsStock != null)
            message.serGoodsStock = String(object.serGoodsStock);
        if (object.serGoodsBanner != null)
            message.serGoodsBanner = String(object.serGoodsBanner);
        if (object.serGoodsJifenVal != null)
            message.serGoodsJifenVal = String(object.serGoodsJifenVal);
        if (object.serBusinessType != null)
            message.serBusinessType = String(object.serBusinessType);
        return message;
    };

    /**
     * Creates a plain object from a GooGoods message. Also converts values to other types if specified.
     * @function toObject
     * @memberof GooGoods
     * @static
     * @param {GooGoods} message GooGoods
     * @param {$protobuf.IConversionOptions} [options] Conversion options
     * @returns {Object.<string,*>} Plain object
     */
    GooGoods.toObject = function toObject(message, options) {
        if (!options)
            options = {};
        var object = {};
        if (options.defaults) {
            object.uuid = "";
            object.upper = "";
            object.validFlag = "";
            object.creator = "";
            object.createTime = "";
            object.creatorIp = "";
            object.lastModifier = "";
            object.lastModifyTime = "";
            object.lastModifierIp = "";
            object.ownerOrganize = "";
            object.ownerRole = "";
            object.serNum = "";
            object.serMemo = "";
            object.serAudit = "";
            object.serUsing = "";
            object.serLabels = "";
            object.serGoodsBarndId = "";
            object.serGoodsName = "";
            object.serGoodsPrice = "";
            object.serShelfState = "";
            object.serGoodsP1 = "";
            object.serGoodsDeac = "";
            object.serGoodsJifen = "";
            object.serGoodsTagId = "";
            object.serGoodsT1 = "";
            object.serGoodsP3 = "";
            object.serGoodsP2 = "";
            object.serGoodsT2 = "";
            object.serGoodsDiscounts = "";
            object.serGoodsStartTime = "";
            object.serGoodsEndTime = "";
            object.serGoodsReturnType = "";
            object.serGoodsPricel = "";
            object.serGoodsIsactive = "";
            object.serGoodsUtil = "";
            object.serGoodsContent = "";
            object.serGoodsJifenNum = "";
            object.serGoodsShow = "";
            object.serGoodsType = "";
            object.serGoodsNew = "";
            object.serGoodsDazhe = "";
            object.serGoodsStock = "";
            object.serGoodsBanner = "";
            object.serGoodsJifenVal = "";
            object.serBusinessType = "";
        }
        if (message.uuid != null && message.hasOwnProperty("uuid"))
            object.uuid = message.uuid;
        if (message.upper != null && message.hasOwnProperty("upper"))
            object.upper = message.upper;
        if (message.validFlag != null && message.hasOwnProperty("validFlag"))
            object.validFlag = message.validFlag;
        if (message.creator != null && message.hasOwnProperty("creator"))
            object.creator = message.creator;
        if (message.createTime != null && message.hasOwnProperty("createTime"))
            object.createTime = message.createTime;
        if (message.creatorIp != null && message.hasOwnProperty("creatorIp"))
            object.creatorIp = message.creatorIp;
        if (message.lastModifier != null && message.hasOwnProperty("lastModifier"))
            object.lastModifier = message.lastModifier;
        if (message.lastModifyTime != null && message.hasOwnProperty("lastModifyTime"))
            object.lastModifyTime = message.lastModifyTime;
        if (message.lastModifierIp != null && message.hasOwnProperty("lastModifierIp"))
            object.lastModifierIp = message.lastModifierIp;
        if (message.ownerOrganize != null && message.hasOwnProperty("ownerOrganize"))
            object.ownerOrganize = message.ownerOrganize;
        if (message.ownerRole != null && message.hasOwnProperty("ownerRole"))
            object.ownerRole = message.ownerRole;
        if (message.serNum != null && message.hasOwnProperty("serNum"))
            object.serNum = message.serNum;
        if (message.serMemo != null && message.hasOwnProperty("serMemo"))
            object.serMemo = message.serMemo;
        if (message.serAudit != null && message.hasOwnProperty("serAudit"))
            object.serAudit = message.serAudit;
        if (message.serUsing != null && message.hasOwnProperty("serUsing"))
            object.serUsing = message.serUsing;
        if (message.serLabels != null && message.hasOwnProperty("serLabels"))
            object.serLabels = message.serLabels;
        if (message.serGoodsBarndId != null && message.hasOwnProperty("serGoodsBarndId"))
            object.serGoodsBarndId = message.serGoodsBarndId;
        if (message.serGoodsName != null && message.hasOwnProperty("serGoodsName"))
            object.serGoodsName = message.serGoodsName;
        if (message.serGoodsPrice != null && message.hasOwnProperty("serGoodsPrice"))
            object.serGoodsPrice = message.serGoodsPrice;
        if (message.serShelfState != null && message.hasOwnProperty("serShelfState"))
            object.serShelfState = message.serShelfState;
        if (message.serGoodsP1 != null && message.hasOwnProperty("serGoodsP1"))
            object.serGoodsP1 = message.serGoodsP1;
        if (message.serGoodsDeac != null && message.hasOwnProperty("serGoodsDeac"))
            object.serGoodsDeac = message.serGoodsDeac;
        if (message.serGoodsJifen != null && message.hasOwnProperty("serGoodsJifen"))
            object.serGoodsJifen = message.serGoodsJifen;
        if (message.serGoodsTagId != null && message.hasOwnProperty("serGoodsTagId"))
            object.serGoodsTagId = message.serGoodsTagId;
        if (message.serGoodsT1 != null && message.hasOwnProperty("serGoodsT1"))
            object.serGoodsT1 = message.serGoodsT1;
        if (message.serGoodsP3 != null && message.hasOwnProperty("serGoodsP3"))
            object.serGoodsP3 = message.serGoodsP3;
        if (message.serGoodsP2 != null && message.hasOwnProperty("serGoodsP2"))
            object.serGoodsP2 = message.serGoodsP2;
        if (message.serGoodsT2 != null && message.hasOwnProperty("serGoodsT2"))
            object.serGoodsT2 = message.serGoodsT2;
        if (message.serGoodsDiscounts != null && message.hasOwnProperty("serGoodsDiscounts"))
            object.serGoodsDiscounts = message.serGoodsDiscounts;
        if (message.serGoodsStartTime != null && message.hasOwnProperty("serGoodsStartTime"))
            object.serGoodsStartTime = message.serGoodsStartTime;
        if (message.serGoodsEndTime != null && message.hasOwnProperty("serGoodsEndTime"))
            object.serGoodsEndTime = message.serGoodsEndTime;
        if (message.serGoodsReturnType != null && message.hasOwnProperty("serGoodsReturnType"))
            object.serGoodsReturnType = message.serGoodsReturnType;
        if (message.serGoodsPricel != null && message.hasOwnProperty("serGoodsPricel"))
            object.serGoodsPricel = message.serGoodsPricel;
        if (message.serGoodsIsactive != null && message.hasOwnProperty("serGoodsIsactive"))
            object.serGoodsIsactive = message.serGoodsIsactive;
        if (message.serGoodsUtil != null && message.hasOwnProperty("serGoodsUtil"))
            object.serGoodsUtil = message.serGoodsUtil;
        if (message.serGoodsContent != null && message.hasOwnProperty("serGoodsContent"))
            object.serGoodsContent = message.serGoodsContent;
        if (message.serGoodsJifenNum != null && message.hasOwnProperty("serGoodsJifenNum"))
            object.serGoodsJifenNum = message.serGoodsJifenNum;
        if (message.serGoodsShow != null && message.hasOwnProperty("serGoodsShow"))
            object.serGoodsShow = message.serGoodsShow;
        if (message.serGoodsType != null && message.hasOwnProperty("serGoodsType"))
            object.serGoodsType = message.serGoodsType;
        if (message.serGoodsNew != null && message.hasOwnProperty("serGoodsNew"))
            object.serGoodsNew = message.serGoodsNew;
        if (message.serGoodsDazhe != null && message.hasOwnProperty("serGoodsDazhe"))
            object.serGoodsDazhe = message.serGoodsDazhe;
        if (message.serGoodsStock != null && message.hasOwnProperty("serGoodsStock"))
            object.serGoodsStock = message.serGoodsStock;
        if (message.serGoodsBanner != null && message.hasOwnProperty("serGoodsBanner"))
            object.serGoodsBanner = message.serGoodsBanner;
        if (message.serGoodsJifenVal != null && message.hasOwnProperty("serGoodsJifenVal"))
            object.serGoodsJifenVal = message.serGoodsJifenVal;
        if (message.serBusinessType != null && message.hasOwnProperty("serBusinessType"))
            object.serBusinessType = message.serBusinessType;
        return object;
    };

    /**
     * Converts this GooGoods to JSON.
     * @function toJSON
     * @memberof GooGoods
     * @instance
     * @returns {Object.<string,*>} JSON object
     */
    GooGoods.prototype.toJSON = function toJSON() {
        return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
    };

    return GooGoods;
})();

$root.GooGoodsCondition = (function() {

    /**
     * Properties of a GooGoodsCondition.
     * @exports IGooGoodsCondition
     * @interface IGooGoodsCondition
     * @property {string|null} [uuid] GooGoodsCondition uuid
     * @property {string|null} [upper] GooGoodsCondition upper
     * @property {string|null} [validFlag] GooGoodsCondition validFlag
     * @property {string|null} [creator] GooGoodsCondition creator
     * @property {string|null} [createTime] GooGoodsCondition createTime
     * @property {string|null} [creatorIp] GooGoodsCondition creatorIp
     * @property {string|null} [lastModifier] GooGoodsCondition lastModifier
     * @property {string|null} [lastModifyTime] GooGoodsCondition lastModifyTime
     * @property {string|null} [lastModifierIp] GooGoodsCondition lastModifierIp
     * @property {string|null} [ownerOrganize] GooGoodsCondition ownerOrganize
     * @property {string|null} [ownerRole] GooGoodsCondition ownerRole
     * @property {string|null} [serNum] GooGoodsCondition serNum
     * @property {string|null} [serMemo] GooGoodsCondition serMemo
     * @property {string|null} [serAudit] GooGoodsCondition serAudit
     * @property {string|null} [serUsing] GooGoodsCondition serUsing
     * @property {string|null} [serLabels] GooGoodsCondition serLabels
     * @property {Array.<string>|null} [uuidList] GooGoodsCondition uuidList
     * @property {string|null} [createTimeOUTSET] GooGoodsCondition createTimeOUTSET
     * @property {string|null} [createTimeFINISH] GooGoodsCondition createTimeFINISH
     * @property {string|null} [lastModifyTimeOUTSET] GooGoodsCondition lastModifyTimeOUTSET
     * @property {string|null} [lastModifyTimeFINISH] GooGoodsCondition lastModifyTimeFINISH
     * @property {Array.<string>|null} [serAuditList] GooGoodsCondition serAuditList
     * @property {string|null} [serImg1] GooGoodsCondition serImg1
     * @property {string|null} [serImg2] GooGoodsCondition serImg2
     * @property {string|null} [serImg3] GooGoodsCondition serImg3
     * @property {string|null} [serImg4] GooGoodsCondition serImg4
     * @property {string|null} [serImg5] GooGoodsCondition serImg5
     * @property {string|null} [serBannerShuzu] GooGoodsCondition serBannerShuzu
     * @property {string|null} [serGoodsJifenVal] GooGoodsCondition serGoodsJifenVal
     * @property {string|null} [serGoodsIsactive] GooGoodsCondition serGoodsIsactive
     * @property {string|null} [serGoodsName] GooGoodsCondition serGoodsName
     * @property {string|null} [serGoodsStock] GooGoodsCondition serGoodsStock
     * @property {Array.<string>|null} [fkBrandList] GooGoodsCondition fkBrandList
     */

    /**
     * Constructs a new GooGoodsCondition.
     * @exports GooGoodsCondition
     * @classdesc Represents a GooGoodsCondition.
     * @implements IGooGoodsCondition
     * @constructor
     * @param {IGooGoodsCondition=} [properties] Properties to set
     */
    function GooGoodsCondition(properties) {
        this.uuidList = [];
        this.serAuditList = [];
        this.fkBrandList = [];
        if (properties)
            for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
                if (properties[keys[i]] != null)
                    this[keys[i]] = properties[keys[i]];
    }

    /**
     * GooGoodsCondition uuid.
     * @member {string} uuid
     * @memberof GooGoodsCondition
     * @instance
     */
    GooGoodsCondition.prototype.uuid = "";

    /**
     * GooGoodsCondition upper.
     * @member {string} upper
     * @memberof GooGoodsCondition
     * @instance
     */
    GooGoodsCondition.prototype.upper = "";

    /**
     * GooGoodsCondition validFlag.
     * @member {string} validFlag
     * @memberof GooGoodsCondition
     * @instance
     */
    GooGoodsCondition.prototype.validFlag = "";

    /**
     * GooGoodsCondition creator.
     * @member {string} creator
     * @memberof GooGoodsCondition
     * @instance
     */
    GooGoodsCondition.prototype.creator = "";

    /**
     * GooGoodsCondition createTime.
     * @member {string} createTime
     * @memberof GooGoodsCondition
     * @instance
     */
    GooGoodsCondition.prototype.createTime = "";

    /**
     * GooGoodsCondition creatorIp.
     * @member {string} creatorIp
     * @memberof GooGoodsCondition
     * @instance
     */
    GooGoodsCondition.prototype.creatorIp = "";

    /**
     * GooGoodsCondition lastModifier.
     * @member {string} lastModifier
     * @memberof GooGoodsCondition
     * @instance
     */
    GooGoodsCondition.prototype.lastModifier = "";

    /**
     * GooGoodsCondition lastModifyTime.
     * @member {string} lastModifyTime
     * @memberof GooGoodsCondition
     * @instance
     */
    GooGoodsCondition.prototype.lastModifyTime = "";

    /**
     * GooGoodsCondition lastModifierIp.
     * @member {string} lastModifierIp
     * @memberof GooGoodsCondition
     * @instance
     */
    GooGoodsCondition.prototype.lastModifierIp = "";

    /**
     * GooGoodsCondition ownerOrganize.
     * @member {string} ownerOrganize
     * @memberof GooGoodsCondition
     * @instance
     */
    GooGoodsCondition.prototype.ownerOrganize = "";

    /**
     * GooGoodsCondition ownerRole.
     * @member {string} ownerRole
     * @memberof GooGoodsCondition
     * @instance
     */
    GooGoodsCondition.prototype.ownerRole = "";

    /**
     * GooGoodsCondition serNum.
     * @member {string} serNum
     * @memberof GooGoodsCondition
     * @instance
     */
    GooGoodsCondition.prototype.serNum = "";

    /**
     * GooGoodsCondition serMemo.
     * @member {string} serMemo
     * @memberof GooGoodsCondition
     * @instance
     */
    GooGoodsCondition.prototype.serMemo = "";

    /**
     * GooGoodsCondition serAudit.
     * @member {string} serAudit
     * @memberof GooGoodsCondition
     * @instance
     */
    GooGoodsCondition.prototype.serAudit = "";

    /**
     * GooGoodsCondition serUsing.
     * @member {string} serUsing
     * @memberof GooGoodsCondition
     * @instance
     */
    GooGoodsCondition.prototype.serUsing = "";

    /**
     * GooGoodsCondition serLabels.
     * @member {string} serLabels
     * @memberof GooGoodsCondition
     * @instance
     */
    GooGoodsCondition.prototype.serLabels = "";

    /**
     * GooGoodsCondition uuidList.
     * @member {Array.<string>} uuidList
     * @memberof GooGoodsCondition
     * @instance
     */
    GooGoodsCondition.prototype.uuidList = $util.emptyArray;

    /**
     * GooGoodsCondition createTimeOUTSET.
     * @member {string} createTimeOUTSET
     * @memberof GooGoodsCondition
     * @instance
     */
    GooGoodsCondition.prototype.createTimeOUTSET = "";

    /**
     * GooGoodsCondition createTimeFINISH.
     * @member {string} createTimeFINISH
     * @memberof GooGoodsCondition
     * @instance
     */
    GooGoodsCondition.prototype.createTimeFINISH = "";

    /**
     * GooGoodsCondition lastModifyTimeOUTSET.
     * @member {string} lastModifyTimeOUTSET
     * @memberof GooGoodsCondition
     * @instance
     */
    GooGoodsCondition.prototype.lastModifyTimeOUTSET = "";

    /**
     * GooGoodsCondition lastModifyTimeFINISH.
     * @member {string} lastModifyTimeFINISH
     * @memberof GooGoodsCondition
     * @instance
     */
    GooGoodsCondition.prototype.lastModifyTimeFINISH = "";

    /**
     * GooGoodsCondition serAuditList.
     * @member {Array.<string>} serAuditList
     * @memberof GooGoodsCondition
     * @instance
     */
    GooGoodsCondition.prototype.serAuditList = $util.emptyArray;

    /**
     * GooGoodsCondition serImg1.
     * @member {string} serImg1
     * @memberof GooGoodsCondition
     * @instance
     */
    GooGoodsCondition.prototype.serImg1 = "";

    /**
     * GooGoodsCondition serImg2.
     * @member {string} serImg2
     * @memberof GooGoodsCondition
     * @instance
     */
    GooGoodsCondition.prototype.serImg2 = "";

    /**
     * GooGoodsCondition serImg3.
     * @member {string} serImg3
     * @memberof GooGoodsCondition
     * @instance
     */
    GooGoodsCondition.prototype.serImg3 = "";

    /**
     * GooGoodsCondition serImg4.
     * @member {string} serImg4
     * @memberof GooGoodsCondition
     * @instance
     */
    GooGoodsCondition.prototype.serImg4 = "";

    /**
     * GooGoodsCondition serImg5.
     * @member {string} serImg5
     * @memberof GooGoodsCondition
     * @instance
     */
    GooGoodsCondition.prototype.serImg5 = "";

    /**
     * GooGoodsCondition serBannerShuzu.
     * @member {string} serBannerShuzu
     * @memberof GooGoodsCondition
     * @instance
     */
    GooGoodsCondition.prototype.serBannerShuzu = "";

    /**
     * GooGoodsCondition serGoodsJifenVal.
     * @member {string} serGoodsJifenVal
     * @memberof GooGoodsCondition
     * @instance
     */
    GooGoodsCondition.prototype.serGoodsJifenVal = "";

    /**
     * GooGoodsCondition serGoodsIsactive.
     * @member {string} serGoodsIsactive
     * @memberof GooGoodsCondition
     * @instance
     */
    GooGoodsCondition.prototype.serGoodsIsactive = "";

    /**
     * GooGoodsCondition serGoodsName.
     * @member {string} serGoodsName
     * @memberof GooGoodsCondition
     * @instance
     */
    GooGoodsCondition.prototype.serGoodsName = "";

    /**
     * GooGoodsCondition serGoodsStock.
     * @member {string} serGoodsStock
     * @memberof GooGoodsCondition
     * @instance
     */
    GooGoodsCondition.prototype.serGoodsStock = "";

    /**
     * GooGoodsCondition fkBrandList.
     * @member {Array.<string>} fkBrandList
     * @memberof GooGoodsCondition
     * @instance
     */
    GooGoodsCondition.prototype.fkBrandList = $util.emptyArray;

    /**
     * Creates a new GooGoodsCondition instance using the specified properties.
     * @function create
     * @memberof GooGoodsCondition
     * @static
     * @param {IGooGoodsCondition=} [properties] Properties to set
     * @returns {GooGoodsCondition} GooGoodsCondition instance
     */
    GooGoodsCondition.create = function create(properties) {
        return new GooGoodsCondition(properties);
    };

    /**
     * Encodes the specified GooGoodsCondition message. Does not implicitly {@link GooGoodsCondition.verify|verify} messages.
     * @function encode
     * @memberof GooGoodsCondition
     * @static
     * @param {IGooGoodsCondition} message GooGoodsCondition message or plain object to encode
     * @param {$protobuf.Writer} [writer] Writer to encode to
     * @returns {$protobuf.Writer} Writer
     */
    GooGoodsCondition.encode = function encode(message, writer) {
        if (!writer)
            writer = $Writer.create();
        if (message.uuid != null && message.hasOwnProperty("uuid"))
            writer.uint32(/* id 1, wireType 2 =*/10).string(message.uuid);
        if (message.upper != null && message.hasOwnProperty("upper"))
            writer.uint32(/* id 2, wireType 2 =*/18).string(message.upper);
        if (message.validFlag != null && message.hasOwnProperty("validFlag"))
            writer.uint32(/* id 3, wireType 2 =*/26).string(message.validFlag);
        if (message.creator != null && message.hasOwnProperty("creator"))
            writer.uint32(/* id 4, wireType 2 =*/34).string(message.creator);
        if (message.createTime != null && message.hasOwnProperty("createTime"))
            writer.uint32(/* id 5, wireType 2 =*/42).string(message.createTime);
        if (message.creatorIp != null && message.hasOwnProperty("creatorIp"))
            writer.uint32(/* id 6, wireType 2 =*/50).string(message.creatorIp);
        if (message.lastModifier != null && message.hasOwnProperty("lastModifier"))
            writer.uint32(/* id 7, wireType 2 =*/58).string(message.lastModifier);
        if (message.lastModifyTime != null && message.hasOwnProperty("lastModifyTime"))
            writer.uint32(/* id 8, wireType 2 =*/66).string(message.lastModifyTime);
        if (message.lastModifierIp != null && message.hasOwnProperty("lastModifierIp"))
            writer.uint32(/* id 9, wireType 2 =*/74).string(message.lastModifierIp);
        if (message.ownerOrganize != null && message.hasOwnProperty("ownerOrganize"))
            writer.uint32(/* id 10, wireType 2 =*/82).string(message.ownerOrganize);
        if (message.ownerRole != null && message.hasOwnProperty("ownerRole"))
            writer.uint32(/* id 11, wireType 2 =*/90).string(message.ownerRole);
        if (message.serNum != null && message.hasOwnProperty("serNum"))
            writer.uint32(/* id 12, wireType 2 =*/98).string(message.serNum);
        if (message.serMemo != null && message.hasOwnProperty("serMemo"))
            writer.uint32(/* id 13, wireType 2 =*/106).string(message.serMemo);
        if (message.serAudit != null && message.hasOwnProperty("serAudit"))
            writer.uint32(/* id 14, wireType 2 =*/114).string(message.serAudit);
        if (message.serUsing != null && message.hasOwnProperty("serUsing"))
            writer.uint32(/* id 15, wireType 2 =*/122).string(message.serUsing);
        if (message.serLabels != null && message.hasOwnProperty("serLabels"))
            writer.uint32(/* id 16, wireType 2 =*/130).string(message.serLabels);
        if (message.uuidList != null && message.uuidList.length)
            for (var i = 0; i < message.uuidList.length; ++i)
                writer.uint32(/* id 17, wireType 2 =*/138).string(message.uuidList[i]);
        if (message.createTimeOUTSET != null && message.hasOwnProperty("createTimeOUTSET"))
            writer.uint32(/* id 18, wireType 2 =*/146).string(message.createTimeOUTSET);
        if (message.createTimeFINISH != null && message.hasOwnProperty("createTimeFINISH"))
            writer.uint32(/* id 19, wireType 2 =*/154).string(message.createTimeFINISH);
        if (message.lastModifyTimeOUTSET != null && message.hasOwnProperty("lastModifyTimeOUTSET"))
            writer.uint32(/* id 20, wireType 2 =*/162).string(message.lastModifyTimeOUTSET);
        if (message.lastModifyTimeFINISH != null && message.hasOwnProperty("lastModifyTimeFINISH"))
            writer.uint32(/* id 21, wireType 2 =*/170).string(message.lastModifyTimeFINISH);
        if (message.serAuditList != null && message.serAuditList.length)
            for (var i = 0; i < message.serAuditList.length; ++i)
                writer.uint32(/* id 22, wireType 2 =*/178).string(message.serAuditList[i]);
        if (message.serImg1 != null && message.hasOwnProperty("serImg1"))
            writer.uint32(/* id 23, wireType 2 =*/186).string(message.serImg1);
        if (message.serImg2 != null && message.hasOwnProperty("serImg2"))
            writer.uint32(/* id 24, wireType 2 =*/194).string(message.serImg2);
        if (message.serImg3 != null && message.hasOwnProperty("serImg3"))
            writer.uint32(/* id 25, wireType 2 =*/202).string(message.serImg3);
        if (message.serImg4 != null && message.hasOwnProperty("serImg4"))
            writer.uint32(/* id 26, wireType 2 =*/210).string(message.serImg4);
        if (message.serImg5 != null && message.hasOwnProperty("serImg5"))
            writer.uint32(/* id 27, wireType 2 =*/218).string(message.serImg5);
        if (message.serBannerShuzu != null && message.hasOwnProperty("serBannerShuzu"))
            writer.uint32(/* id 28, wireType 2 =*/226).string(message.serBannerShuzu);
        if (message.serGoodsJifenVal != null && message.hasOwnProperty("serGoodsJifenVal"))
            writer.uint32(/* id 29, wireType 2 =*/234).string(message.serGoodsJifenVal);
        if (message.serGoodsIsactive != null && message.hasOwnProperty("serGoodsIsactive"))
            writer.uint32(/* id 30, wireType 2 =*/242).string(message.serGoodsIsactive);
        if (message.serGoodsName != null && message.hasOwnProperty("serGoodsName"))
            writer.uint32(/* id 31, wireType 2 =*/250).string(message.serGoodsName);
        if (message.serGoodsStock != null && message.hasOwnProperty("serGoodsStock"))
            writer.uint32(/* id 32, wireType 2 =*/258).string(message.serGoodsStock);
        if (message.fkBrandList != null && message.fkBrandList.length)
            for (var i = 0; i < message.fkBrandList.length; ++i)
                writer.uint32(/* id 33, wireType 2 =*/266).string(message.fkBrandList[i]);
        return writer;
    };

    /**
     * Encodes the specified GooGoodsCondition message, length delimited. Does not implicitly {@link GooGoodsCondition.verify|verify} messages.
     * @function encodeDelimited
     * @memberof GooGoodsCondition
     * @static
     * @param {IGooGoodsCondition} message GooGoodsCondition message or plain object to encode
     * @param {$protobuf.Writer} [writer] Writer to encode to
     * @returns {$protobuf.Writer} Writer
     */
    GooGoodsCondition.encodeDelimited = function encodeDelimited(message, writer) {
        return this.encode(message, writer).ldelim();
    };

    /**
     * Decodes a GooGoodsCondition message from the specified reader or buffer.
     * @function decode
     * @memberof GooGoodsCondition
     * @static
     * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
     * @param {number} [length] Message length if known beforehand
     * @returns {GooGoodsCondition} GooGoodsCondition
     * @throws {Error} If the payload is not a reader or valid buffer
     * @throws {$protobuf.util.ProtocolError} If required fields are missing
     */
    GooGoodsCondition.decode = function decode(reader, length) {
        if (!(reader instanceof $Reader))
            reader = $Reader.create(reader);
        var end = length === undefined ? reader.len : reader.pos + length, message = new $root.GooGoodsCondition();
        while (reader.pos < end) {
            var tag = reader.uint32();
            switch (tag >>> 3) {
            case 1:
                message.uuid = reader.string();
                break;
            case 2:
                message.upper = reader.string();
                break;
            case 3:
                message.validFlag = reader.string();
                break;
            case 4:
                message.creator = reader.string();
                break;
            case 5:
                message.createTime = reader.string();
                break;
            case 6:
                message.creatorIp = reader.string();
                break;
            case 7:
                message.lastModifier = reader.string();
                break;
            case 8:
                message.lastModifyTime = reader.string();
                break;
            case 9:
                message.lastModifierIp = reader.string();
                break;
            case 10:
                message.ownerOrganize = reader.string();
                break;
            case 11:
                message.ownerRole = reader.string();
                break;
            case 12:
                message.serNum = reader.string();
                break;
            case 13:
                message.serMemo = reader.string();
                break;
            case 14:
                message.serAudit = reader.string();
                break;
            case 15:
                message.serUsing = reader.string();
                break;
            case 16:
                message.serLabels = reader.string();
                break;
            case 17:
                if (!(message.uuidList && message.uuidList.length))
                    message.uuidList = [];
                message.uuidList.push(reader.string());
                break;
            case 18:
                message.createTimeOUTSET = reader.string();
                break;
            case 19:
                message.createTimeFINISH = reader.string();
                break;
            case 20:
                message.lastModifyTimeOUTSET = reader.string();
                break;
            case 21:
                message.lastModifyTimeFINISH = reader.string();
                break;
            case 22:
                if (!(message.serAuditList && message.serAuditList.length))
                    message.serAuditList = [];
                message.serAuditList.push(reader.string());
                break;
            case 23:
                message.serImg1 = reader.string();
                break;
            case 24:
                message.serImg2 = reader.string();
                break;
            case 25:
                message.serImg3 = reader.string();
                break;
            case 26:
                message.serImg4 = reader.string();
                break;
            case 27:
                message.serImg5 = reader.string();
                break;
            case 28:
                message.serBannerShuzu = reader.string();
                break;
            case 29:
                message.serGoodsJifenVal = reader.string();
                break;
            case 30:
                message.serGoodsIsactive = reader.string();
                break;
            case 31:
                message.serGoodsName = reader.string();
                break;
                case 32:
                    message.serGoodsStock = reader.string();
                    break;
                case 33:
                    if (!(message.fkBrandList && message.fkBrandList.length))
                        message.fkBrandList = [];
                    message.fkBrandList.push(reader.string());
                    break;
            default:
                reader.skipType(tag & 7);
                break;
            }
        }
        return message;
    };

    /**
     * Decodes a GooGoodsCondition message from the specified reader or buffer, length delimited.
     * @function decodeDelimited
     * @memberof GooGoodsCondition
     * @static
     * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
     * @returns {GooGoodsCondition} GooGoodsCondition
     * @throws {Error} If the payload is not a reader or valid buffer
     * @throws {$protobuf.util.ProtocolError} If required fields are missing
     */
    GooGoodsCondition.decodeDelimited = function decodeDelimited(reader) {
        if (!(reader instanceof $Reader))
            reader = new $Reader(reader);
        return this.decode(reader, reader.uint32());
    };

    /**
     * Verifies a GooGoodsCondition message.
     * @function verify
     * @memberof GooGoodsCondition
     * @static
     * @param {Object.<string,*>} message Plain object to verify
     * @returns {string|null} `null` if valid, otherwise the reason why it is not
     */
    GooGoodsCondition.verify = function verify(message) {
        if (typeof message !== "object" || message === null)
            return "object expected";
        if (message.uuid != null && message.hasOwnProperty("uuid"))
            if (!$util.isString(message.uuid))
                return "uuid: string expected";
        if (message.upper != null && message.hasOwnProperty("upper"))
            if (!$util.isString(message.upper))
                return "upper: string expected";
        if (message.validFlag != null && message.hasOwnProperty("validFlag"))
            if (!$util.isString(message.validFlag))
                return "validFlag: string expected";
        if (message.creator != null && message.hasOwnProperty("creator"))
            if (!$util.isString(message.creator))
                return "creator: string expected";
        if (message.createTime != null && message.hasOwnProperty("createTime"))
            if (!$util.isString(message.createTime))
                return "createTime: string expected";
        if (message.creatorIp != null && message.hasOwnProperty("creatorIp"))
            if (!$util.isString(message.creatorIp))
                return "creatorIp: string expected";
        if (message.lastModifier != null && message.hasOwnProperty("lastModifier"))
            if (!$util.isString(message.lastModifier))
                return "lastModifier: string expected";
        if (message.lastModifyTime != null && message.hasOwnProperty("lastModifyTime"))
            if (!$util.isString(message.lastModifyTime))
                return "lastModifyTime: string expected";
        if (message.lastModifierIp != null && message.hasOwnProperty("lastModifierIp"))
            if (!$util.isString(message.lastModifierIp))
                return "lastModifierIp: string expected";
        if (message.ownerOrganize != null && message.hasOwnProperty("ownerOrganize"))
            if (!$util.isString(message.ownerOrganize))
                return "ownerOrganize: string expected";
        if (message.ownerRole != null && message.hasOwnProperty("ownerRole"))
            if (!$util.isString(message.ownerRole))
                return "ownerRole: string expected";
        if (message.serNum != null && message.hasOwnProperty("serNum"))
            if (!$util.isString(message.serNum))
                return "serNum: string expected";
        if (message.serMemo != null && message.hasOwnProperty("serMemo"))
            if (!$util.isString(message.serMemo))
                return "serMemo: string expected";
        if (message.serAudit != null && message.hasOwnProperty("serAudit"))
            if (!$util.isString(message.serAudit))
                return "serAudit: string expected";
        if (message.serUsing != null && message.hasOwnProperty("serUsing"))
            if (!$util.isString(message.serUsing))
                return "serUsing: string expected";
        if (message.serLabels != null && message.hasOwnProperty("serLabels"))
            if (!$util.isString(message.serLabels))
                return "serLabels: string expected";
        if (message.uuidList != null && message.hasOwnProperty("uuidList")) {
            if (!Array.isArray(message.uuidList))
                return "uuidList: array expected";
            for (var i = 0; i < message.uuidList.length; ++i)
                if (!$util.isString(message.uuidList[i]))
                    return "uuidList: string[] expected";
        }
        if (message.createTimeOUTSET != null && message.hasOwnProperty("createTimeOUTSET"))
            if (!$util.isString(message.createTimeOUTSET))
                return "createTimeOUTSET: string expected";
        if (message.createTimeFINISH != null && message.hasOwnProperty("createTimeFINISH"))
            if (!$util.isString(message.createTimeFINISH))
                return "createTimeFINISH: string expected";
        if (message.lastModifyTimeOUTSET != null && message.hasOwnProperty("lastModifyTimeOUTSET"))
            if (!$util.isString(message.lastModifyTimeOUTSET))
                return "lastModifyTimeOUTSET: string expected";
        if (message.lastModifyTimeFINISH != null && message.hasOwnProperty("lastModifyTimeFINISH"))
            if (!$util.isString(message.lastModifyTimeFINISH))
                return "lastModifyTimeFINISH: string expected";
        if (message.serAuditList != null && message.hasOwnProperty("serAuditList")) {
            if (!Array.isArray(message.serAuditList))
                return "serAuditList: array expected";
            for (var i = 0; i < message.serAuditList.length; ++i)
                if (!$util.isString(message.serAuditList[i]))
                    return "serAuditList: string[] expected";
        }
        if (message.serImg1 != null && message.hasOwnProperty("serImg1"))
            if (!$util.isString(message.serImg1))
                return "serImg1: string expected";
        if (message.serImg2 != null && message.hasOwnProperty("serImg2"))
            if (!$util.isString(message.serImg2))
                return "serImg2: string expected";
        if (message.serImg3 != null && message.hasOwnProperty("serImg3"))
            if (!$util.isString(message.serImg3))
                return "serImg3: string expected";
        if (message.serImg4 != null && message.hasOwnProperty("serImg4"))
            if (!$util.isString(message.serImg4))
                return "serImg4: string expected";
        if (message.serImg5 != null && message.hasOwnProperty("serImg5"))
            if (!$util.isString(message.serImg5))
                return "serImg5: string expected";
        if (message.serBannerShuzu != null && message.hasOwnProperty("serBannerShuzu"))
            if (!$util.isString(message.serBannerShuzu))
                return "serBannerShuzu: string expected";
        if (message.serGoodsJifenVal != null && message.hasOwnProperty("serGoodsJifenVal"))
            if (!$util.isString(message.serGoodsJifenVal))
                return "serGoodsJifenVal: string expected";
        if (message.serGoodsIsactive != null && message.hasOwnProperty("serGoodsIsactive"))
            if (!$util.isString(message.serGoodsIsactive))
                return "serGoodsIsactive: string expected";
        if (message.serGoodsName != null && message.hasOwnProperty("serGoodsName"))
            if (!$util.isString(message.serGoodsName))
                return "serGoodsName: string expected";
        if (message.serGoodsStock != null && message.hasOwnProperty("serGoodsStock"))
            if (!$util.isString(message.serGoodsStock))
                return "serGoodsStock: string expected";
        if (message.fkBrandList != null && message.hasOwnProperty("fkBrandList")) {
            if (!Array.isArray(message.fkBrandList))
                return "fkBrandList: array expected";
            for (var i = 0; i < message.fkBrandList.length; ++i)
                if (!$util.isString(message.fkBrandList[i]))
                    return "fkBrandList: string[] expected";
        }
        return null;
    };

    /**
     * Creates a GooGoodsCondition message from a plain object. Also converts values to their respective internal types.
     * @function fromObject
     * @memberof GooGoodsCondition
     * @static
     * @param {Object.<string,*>} object Plain object
     * @returns {GooGoodsCondition} GooGoodsCondition
     */
    GooGoodsCondition.fromObject = function fromObject(object) {
        if (object instanceof $root.GooGoodsCondition)
            return object;
        var message = new $root.GooGoodsCondition();
        if (object.uuid != null)
            message.uuid = String(object.uuid);
        if (object.upper != null)
            message.upper = String(object.upper);
        if (object.validFlag != null)
            message.validFlag = String(object.validFlag);
        if (object.creator != null)
            message.creator = String(object.creator);
        if (object.createTime != null)
            message.createTime = String(object.createTime);
        if (object.creatorIp != null)
            message.creatorIp = String(object.creatorIp);
        if (object.lastModifier != null)
            message.lastModifier = String(object.lastModifier);
        if (object.lastModifyTime != null)
            message.lastModifyTime = String(object.lastModifyTime);
        if (object.lastModifierIp != null)
            message.lastModifierIp = String(object.lastModifierIp);
        if (object.ownerOrganize != null)
            message.ownerOrganize = String(object.ownerOrganize);
        if (object.ownerRole != null)
            message.ownerRole = String(object.ownerRole);
        if (object.serNum != null)
            message.serNum = String(object.serNum);
        if (object.serMemo != null)
            message.serMemo = String(object.serMemo);
        if (object.serAudit != null)
            message.serAudit = String(object.serAudit);
        if (object.serUsing != null)
            message.serUsing = String(object.serUsing);
        if (object.serLabels != null)
            message.serLabels = String(object.serLabels);
        if (object.uuidList) {
            if (!Array.isArray(object.uuidList))
                throw TypeError(".GooGoodsCondition.uuidList: array expected");
            message.uuidList = [];
            for (var i = 0; i < object.uuidList.length; ++i)
                message.uuidList[i] = String(object.uuidList[i]);
        }
        if (object.createTimeOUTSET != null)
            message.createTimeOUTSET = String(object.createTimeOUTSET);
        if (object.createTimeFINISH != null)
            message.createTimeFINISH = String(object.createTimeFINISH);
        if (object.lastModifyTimeOUTSET != null)
            message.lastModifyTimeOUTSET = String(object.lastModifyTimeOUTSET);
        if (object.lastModifyTimeFINISH != null)
            message.lastModifyTimeFINISH = String(object.lastModifyTimeFINISH);
        if (object.serAuditList) {
            if (!Array.isArray(object.serAuditList))
                throw TypeError(".GooGoodsCondition.serAuditList: array expected");
            message.serAuditList = [];
            for (var i = 0; i < object.serAuditList.length; ++i)
                message.serAuditList[i] = String(object.serAuditList[i]);
        }
        if (object.serImg1 != null)
            message.serImg1 = String(object.serImg1);
        if (object.serImg2 != null)
            message.serImg2 = String(object.serImg2);
        if (object.serImg3 != null)
            message.serImg3 = String(object.serImg3);
        if (object.serImg4 != null)
            message.serImg4 = String(object.serImg4);
        if (object.serImg5 != null)
            message.serImg5 = String(object.serImg5);
        if (object.serBannerShuzu != null)
            message.serBannerShuzu = String(object.serBannerShuzu);
        if (object.serGoodsJifenVal != null)
            message.serGoodsJifenVal = String(object.serGoodsJifenVal);
        if (object.serGoodsIsactive != null)
            message.serGoodsIsactive = String(object.serGoodsIsactive);
        if (object.serGoodsName != null)
            message.serGoodsName = String(object.serGoodsName);
        if (object.serGoodsStock != null)
            message.serGoodsStock = String(object.serGoodsStock);
        if (object.fkBrandList) {
            if (!Array.isArray(object.fkBrandList))
                throw TypeError(".GooGoodsCondition.fkBrandList: array expected");
            message.fkBrandList = [];
            for (var i = 0; i < object.fkBrandList.length; ++i)
                message.fkBrandList[i] = String(object.fkBrandList[i]);
        }
        return message;
    };

    /**
     * Creates a plain object from a GooGoodsCondition message. Also converts values to other types if specified.
     * @function toObject
     * @memberof GooGoodsCondition
     * @static
     * @param {GooGoodsCondition} message GooGoodsCondition
     * @param {$protobuf.IConversionOptions} [options] Conversion options
     * @returns {Object.<string,*>} Plain object
     */
    GooGoodsCondition.toObject = function toObject(message, options) {
        if (!options)
            options = {};
        var object = {};
        if (options.arrays || options.defaults) {
            object.uuidList = [];
            object.serAuditList = [];
            object.fkBrandList = [];
        }
        if (options.defaults) {
            object.uuid = "";
            object.upper = "";
            object.validFlag = "";
            object.creator = "";
            object.createTime = "";
            object.creatorIp = "";
            object.lastModifier = "";
            object.lastModifyTime = "";
            object.lastModifierIp = "";
            object.ownerOrganize = "";
            object.ownerRole = "";
            object.serNum = "";
            object.serMemo = "";
            object.serAudit = "";
            object.serUsing = "";
            object.serLabels = "";
            object.createTimeOUTSET = "";
            object.createTimeFINISH = "";
            object.lastModifyTimeOUTSET = "";
            object.lastModifyTimeFINISH = "";
            object.serImg1 = "";
            object.serImg2 = "";
            object.serImg3 = "";
            object.serImg4 = "";
            object.serImg5 = "";
            object.serBannerShuzu = "";
            object.serGoodsJifenVal = "";
            object.serGoodsIsactive = "";
            object.serGoodsName = "";
            object.serGoodsStock = "";
        }
        if (message.uuid != null && message.hasOwnProperty("uuid"))
            object.uuid = message.uuid;
        if (message.upper != null && message.hasOwnProperty("upper"))
            object.upper = message.upper;
        if (message.validFlag != null && message.hasOwnProperty("validFlag"))
            object.validFlag = message.validFlag;
        if (message.creator != null && message.hasOwnProperty("creator"))
            object.creator = message.creator;
        if (message.createTime != null && message.hasOwnProperty("createTime"))
            object.createTime = message.createTime;
        if (message.creatorIp != null && message.hasOwnProperty("creatorIp"))
            object.creatorIp = message.creatorIp;
        if (message.lastModifier != null && message.hasOwnProperty("lastModifier"))
            object.lastModifier = message.lastModifier;
        if (message.lastModifyTime != null && message.hasOwnProperty("lastModifyTime"))
            object.lastModifyTime = message.lastModifyTime;
        if (message.lastModifierIp != null && message.hasOwnProperty("lastModifierIp"))
            object.lastModifierIp = message.lastModifierIp;
        if (message.ownerOrganize != null && message.hasOwnProperty("ownerOrganize"))
            object.ownerOrganize = message.ownerOrganize;
        if (message.ownerRole != null && message.hasOwnProperty("ownerRole"))
            object.ownerRole = message.ownerRole;
        if (message.serNum != null && message.hasOwnProperty("serNum"))
            object.serNum = message.serNum;
        if (message.serMemo != null && message.hasOwnProperty("serMemo"))
            object.serMemo = message.serMemo;
        if (message.serAudit != null && message.hasOwnProperty("serAudit"))
            object.serAudit = message.serAudit;
        if (message.serUsing != null && message.hasOwnProperty("serUsing"))
            object.serUsing = message.serUsing;
        if (message.serLabels != null && message.hasOwnProperty("serLabels"))
            object.serLabels = message.serLabels;
        if (message.uuidList && message.uuidList.length) {
            object.uuidList = [];
            for (var j = 0; j < message.uuidList.length; ++j)
                object.uuidList[j] = message.uuidList[j];
        }
        if (message.createTimeOUTSET != null && message.hasOwnProperty("createTimeOUTSET"))
            object.createTimeOUTSET = message.createTimeOUTSET;
        if (message.createTimeFINISH != null && message.hasOwnProperty("createTimeFINISH"))
            object.createTimeFINISH = message.createTimeFINISH;
        if (message.lastModifyTimeOUTSET != null && message.hasOwnProperty("lastModifyTimeOUTSET"))
            object.lastModifyTimeOUTSET = message.lastModifyTimeOUTSET;
        if (message.lastModifyTimeFINISH != null && message.hasOwnProperty("lastModifyTimeFINISH"))
            object.lastModifyTimeFINISH = message.lastModifyTimeFINISH;
        if (message.serAuditList && message.serAuditList.length) {
            object.serAuditList = [];
            for (var j = 0; j < message.serAuditList.length; ++j)
                object.serAuditList[j] = message.serAuditList[j];
        }
        if (message.serImg1 != null && message.hasOwnProperty("serImg1"))
            object.serImg1 = message.serImg1;
        if (message.serImg2 != null && message.hasOwnProperty("serImg2"))
            object.serImg2 = message.serImg2;
        if (message.serImg3 != null && message.hasOwnProperty("serImg3"))
            object.serImg3 = message.serImg3;
        if (message.serImg4 != null && message.hasOwnProperty("serImg4"))
            object.serImg4 = message.serImg4;
        if (message.serImg5 != null && message.hasOwnProperty("serImg5"))
            object.serImg5 = message.serImg5;
        if (message.serBannerShuzu != null && message.hasOwnProperty("serBannerShuzu"))
            object.serBannerShuzu = message.serBannerShuzu;
        if (message.serGoodsJifenVal != null && message.hasOwnProperty("serGoodsJifenVal"))
            object.serGoodsJifenVal = message.serGoodsJifenVal;
        if (message.serGoodsIsactive != null && message.hasOwnProperty("serGoodsIsactive"))
            object.serGoodsIsactive = message.serGoodsIsactive;
        if (message.serGoodsName != null && message.hasOwnProperty("serGoodsName"))
            object.serGoodsName = message.serGoodsName;
        if (message.serGoodsStock != null && message.hasOwnProperty("serGoodsStock"))
            object.serGoodsStock = message.serGoodsStock;
        if (message.fkBrandList && message.fkBrandList.length) {
            object.fkBrandList = [];
            for (var j = 0; j < message.fkBrandList.length; ++j)
                object.fkBrandList[j] = message.fkBrandList[j];
        }
        return object;
    };

    /**
     * Converts this GooGoodsCondition to JSON.
     * @function toJSON
     * @memberof GooGoodsCondition
     * @instance
     * @returns {Object.<string,*>} JSON object
     */
    GooGoodsCondition.prototype.toJSON = function toJSON() {
        return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
    };

    return GooGoodsCondition;
})();

module.exports = $root;
